package com.ytjj.qmyx.mall.service.impl;

import com.ytjj.common.api.CommonResult;
import com.ytjj.qmyx.mall.mapper.LabelDao;
import com.ytjj.qmyx.mall.service.LabelService;
import com.ytjj.qmyx.users.model.Label;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class LabelServiceImpl implements LabelService {
    @Resource
    private LabelDao labelDao;
    @Override
    public List<Label> queryAll() {
        List<Label> list = labelDao.queryAll("dynamic");

        return list;
    }
}
